home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 1 / CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso / Aminet / comm / tcp / ATCP_sdk_40_gc.lha / AmiTCP-4.0-gcc / src / netlib / dummy.c < prev    next >
C/C++ Source or Header  |  1995-03-23  |  520b  |  22 lines

  1. static const char *RCS="$Id: dummy.c,v 4.1 1994/09/29 23:09:02 jraja Exp $";
  2. /*
  3.  *    dummy.c - unimplemented netdb functions
  4.  *
  5.  *    Copyright © 1994 AmiTCP/IP Group,
  6.  *             Network Solutions Development Inc.
  7.  *             All rights reserved.
  8.  */
  9.  
  10. #include <netdb.h>
  11. #if !__SASC && !defined (NULL)
  12. #define NULL ((void *) 0)
  13. #endif
  14. struct hostent    *gethostent(void)
  15. { return NULL; }
  16. struct netent  *getnetent(void)
  17. { return NULL; }
  18. struct servent    *getservent(void)
  19. { return NULL; }
  20. struct protoent *getprotoent(void)
  21. { return NULL; }
  22.